﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace ZombieSurvival
{
    class Monster:Character
    {
        public Monster()
        {
            
        }
       
        public override void Initialize(Texture2D texture, Vector2 screenposition)
        {
            throw new NotImplementedException();
        }

        public override void Move(WorldPosition position)
        {
            this.WorldPosition = position;
        }

        public override void Move(int direction)
        {
            switch (direction)
            {
                case (int)Enums.Directions.E:
                    this.WorldPosition.XPosition++;
                    break;
                case (int)Enums.Directions.EN:
                    this.WorldPosition.XPosition++;
                    this.WorldPosition.YPosition++;
                    break;
                case (int)Enums.Directions.N:
                    this.WorldPosition.YPosition++;
                    break;
                case (int)Enums.Directions.NW:
                    this.WorldPosition.XPosition--;
                    this.WorldPosition.YPosition++;
                    break;
                case (int)Enums.Directions.S:
                    this.WorldPosition.YPosition--;
                    break;
                case (int)Enums.Directions.SE:
                    this.WorldPosition.XPosition++;
                    this.WorldPosition.YPosition--;
                    break;
                case (int)Enums.Directions.SW:
                    this.WorldPosition.XPosition--;
                    this.WorldPosition.YPosition--;
                    break;
                case (int)Enums.Directions.W:
                    this.WorldPosition.XPosition--;
                    break;
            }
        }

        public override void Draw(SpriteBatch spriteBatch)
        {
            throw new NotImplementedException();
        }
    }
}
